import java.util.LinkedList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 98152
 * Date: 2024-11-16
 * Time: 22:47
 */
public class Test {
    public static void main(String[] args) {
        LinkedList<Integer> lists = new LinkedList<>();
        lists.add(2);
        lists.add(1);
        lists.add(4);
        lists.add(3);
        for(int x : lists) {
            System.out.println(x);
        }
    }
}
